package com.neutech.maplestory.entity;

import com.neutech.maplestory.client.MapleStoryClient;
import com.neutech.maplestory.util.ImageUtil;

import java.awt.*;

public class Background extends AbstractMapleStoryObject{
    public Image img;
    public Background(){

    }
    public Background(MapleStoryClient msc, int x, int y, String key){
        this.msc = msc;
        this.x = x;
        this.y = y;
        this.img = ImageUtil.getImage("bg");
        this.width = img.getWidth(null);
        this.height = img.getHeight(null);
    }
    @Override
    public void draw(Graphics g) {
        g.drawImage(img,x,y,null);
    }
}
